#pragma once
#include "PlayerColor.h"
#include "FieldResource.h"

namespace catan
{
	typedef std::vector<FieldResourceType::Enum> FieldResourceTypes;

	class PlayerItem : public BoardItem
	{
	public:
		PlayerItem(void);
		virtual ~PlayerItem(void);
		void SetColor(PlayerColor::Enum val) { mColor = val; }
		PlayerColor::Enum GetColor() const { return mColor; }

		bool HasBuilt() const { return mHasBuilt; }
		void SetBuilt(bool val) { mHasBuilt = val; }
	protected:
		PlayerColor::Enum mColor;
		bool mHasBuilt;
	public:
		template<class Serializer>
		void serialize(Serializer & s, const unsigned int version)
		{
			s & mColor & mHasBuilt;
		}
	};

}	